The Dreamweaver JavaScript API > File manipulation functions > dreamweaver.getFontList() |
![]() ![]() ![]() |
Availability
Dreamweaver 3.0
Description
Gets a list of all the font groups that appear in the text Property inspector and in the Style Definition dialog box.
Arguments
None.
Returns
An array of strings representing each item in the font list.
Enabler
None.
Example
For the default installation of Dreamweaver, a call to dw.getFontList()
would return an array containing the following items:
![]() |
"Arial, Helvetica, sans-serif" |
![]() |
"Times New Roman, Times, serif" |
![]() |
"Courier New, Courier, mono" |
![]() |
"Georgia, Times New Roman, Times, serif" |
![]() |
"Verdana, Arial, Helvetica, sans-serif" |
![]() ![]() ![]() |